package org.jeecg.modules.zhoupackage.GoodsOrder.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.jeecg.modules.zhouAdmin.admin.goodsCenter.pojo.MlccThirdGoodsSize;
import org.jeecg.modules.zhouAdmin.admin.goodsCenter.pojo.MlccThirdGoodsSpecifications;

import java.util.Date;

/**
 * 第三期-现货购物车与商品规格购买数量关联表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class MlccThirdCartBuynum {
    private String id;
    /**
     * 购物车id
     */
    private String goodsCartId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品规格id
     */
    private String goodsSpecificationsId;

    /**
     * 尺码id
     */
    private String goodsSizeId;

    /**
     * 商品库存下的批次id
     */
    private String kucunBathId;

    /**
     * 购买数量
     */
    private Double buyNum;
    private String userId;
    private Integer status;
    private String remark;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private String sysOrgCode;

    /**
     * 对应的规格对象
     */
    @TableField(exist = false)
    private MlccThirdGoodsSpecifications goodsSpecifications;

    /**
     * 对应的尺码对象
     */
    @TableField(exist = false)
    private MlccThirdGoodsSize goodsSize;
}
